package com.jdb.loan.api.dto;

import com.guns21.support.dto.BaseDTO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * @author jliu
 */
@Data
public class LoanDTO extends BaseDTO {

    private String title;
    private String summary;
    private String categoryId;
    private Date publishTime;
    /**
     * 额度-最小
     */
    private Integer quotaMin;

    /**
     * 额度-最大
     */
    private Integer quotaMax;

    /**
     * 期限-最小
     */
    private Integer termMin;

    /**
     * 期限-最大
     */
    private Integer termMax;

    /**
     * 利率
     */
    private BigDecimal interestAmount;

    /**
     * 标签
     */
    private Map tags;

    /**
     * 图标
     */
    private String cover;

    /**
     * 注册url
     */
    private String url;

    /**
     * 申请条件
     */
    private String applyConditions;

    /**
     * 申请人数
     */
    private Integer applyCount;

    /**
     * 审核说明
     */
    private String auditInstructions;

    /**
     * 新手指导
     */
    private String guide;

    /* ------------------------------ */

    /**
     * 收藏
     */
    private boolean collection;
}
